<template>
    <a-checkbox v-model="props.checked" :disabled="disabled">{{ label }}</a-checkbox>
  </template>
  
  <script setup>
  import { defineProps, ref } from 'vue';
  
  const props = defineProps({
    label: String,
    checked: Boolean,
    disabled: {
      type: Boolean,
      default: false
    }
  });
  
  const checkedRef = ref(props.checked);
  </script>